Optimal. Leaf size=477 \[ \frac {(5 A b-2 a B) \cot (c+d x)}{2 a^2 d (a+b \tan (c+d x))^3}-\frac {\left (a^2 A+4 a b B-10 A b^2\right ) \log (\sin (c+d x))}{a^6 d}+\frac {b \left (-3 a^3 B+9 a^2 A b-4 a b^2 B+10 A b^3\right )}{3 a^3 d \left (a^2+b^2\right ) (a+b \tan (c+d x))^3}+\frac {x \left (a^4 (-B)+4 a^3 A b+6 a^2 b^2 B-4 a A b^3-b^4 B\right )}{\left (a^2+b^2\right )^4}+\frac {b \left (-2 a^5 B+7 a^4 A b-8 a^3 b^2 B+19 a^2 A b^3-4 a b^4 B+10 A b^5\right )}{2 a^4 d \left (a^2+b^2\right )^2 (a+b \tan (c+d x))^2}+\frac {b \left (a^7 (-B)+4 a^6 A b-13 a^5 b^2 B+27 a^4 A b^3-12 a^3 b^4 B+29 a^2 A b^5-4 a b^6 B+10 A b^7\right )}{a^5 d \left (a^2+b^2\right )^3 (a+b \tan (c+d x))}-\frac {b^3 \left (-20 a^7 B+35 a^6 A b-24 a^5 b^2 B+56 a^4 A b^3-16 a^3 b^4 B+39 a^2 A b^5-4 a b^6 B+10 A b^7\right ) \log (a \cos (c+d x)+b \sin (c+d x))}{a^6 d \left (a^2+b^2\right )^4}-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.74, antiderivative size = 477, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 5, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.161, Rules used = {3609, 3649, 3651, 3530, 3475} \[ \frac {b \left (27 a^4 A b^3+29 a^2 A b^5+4 a^6 A b-13 a^5 b^2 B-12 a^3 b^4 B+a^7 (-B)-4 a b^6 B+10 A b^7\right )}{a^5 d \left (a^2+b^2\right )^3 (a+b \tan (c+d x))}+\frac {b \left (19 a^2 A b^3+7 a^4 A b-8 a^3 b^2 B-2 a^5 B-4 a b^4 B+10 A b^5\right )}{2 a^4 d \left (a^2+b^2\right )^2 (a+b \tan (c+d x))^2}+\frac {b \left (9 a^2 A b-3 a^3 B-4 a b^2 B+10 A b^3\right )}{3 a^3 d \left (a^2+b^2\right ) (a+b \tan (c+d x))^3}-\frac {\left (a^2 A+4 a b B-10 A b^2\right ) \log (\sin (c+d x))}{a^6 d}-\frac {b^3 \left (56 a^4 A b^3+39 a^2 A b^5+35 a^6 A b-24 a^5 b^2 B-16 a^3 b^4 B-20 a^7 B-4 a b^6 B+10 A b^7\right ) \log (a \cos (c+d x)+b \sin (c+d x))}{a^6 d \left (a^2+b^2\right )^4}+\frac {x \left (4 a^3 A b+6 a^2 b^2 B+a^4 (-B)-4 a A b^3-b^4 B\right )}{\left (a^2+b^2\right )^4}+\frac {(5 A b-2 a B) \cot (c+d x)}{2 a^2 d (a+b \tan (c+d x))^3}-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3475
Rule 3530
Rule 3609
Rule 3649
Rule 3651
Rubi steps
\begin {align*} \int \frac {\cot ^3(c+d x) (A+B \tan (c+d x))}{(a+b \tan (c+d x))^4} \, dx &=-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3}-\frac {\int \frac {\cot ^2(c+d x) \left (5 A b-2 a B+2 a A \tan (c+d x)+5 A b \tan ^2(c+d x)\right )}{(a+b \tan (c+d x))^4} \, dx}{2 a}\\ &=\frac {(5 A b-2 a B) \cot (c+d x)}{2 a^2 d (a+b \tan (c+d x))^3}-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3}+\frac {\int \frac {\cot (c+d x) \left (-2 \left (a^2 A-10 A b^2+4 a b B\right )-2 a^2 B \tan (c+d x)+4 b (5 A b-2 a B) \tan ^2(c+d x)\right )}{(a+b \tan (c+d x))^4} \, dx}{2 a^2}\\ &=\frac {b \left (9 a^2 A b+10 A b^3-3 a^3 B-4 a b^2 B\right )}{3 a^3 \left (a^2+b^2\right ) d (a+b \tan (c+d x))^3}+\frac {(5 A b-2 a B) \cot (c+d x)}{2 a^2 d (a+b \tan (c+d x))^3}-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3}+\frac {\int \frac {\cot (c+d x) \left (-6 \left (a^2+b^2\right ) \left (a^2 A-10 A b^2+4 a b B\right )+6 a^3 (A b-a B) \tan (c+d x)+6 b \left (9 a^2 A b+10 A b^3-3 a^3 B-4 a b^2 B\right ) \tan ^2(c+d x)\right )}{(a+b \tan (c+d x))^3} \, dx}{6 a^3 \left (a^2+b^2\right )}\\ &=\frac {b \left (9 a^2 A b+10 A b^3-3 a^3 B-4 a b^2 B\right )}{3 a^3 \left (a^2+b^2\right ) d (a+b \tan (c+d x))^3}+\frac {(5 A b-2 a B) \cot (c+d x)}{2 a^2 d (a+b \tan (c+d x))^3}-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3}+\frac {b \left (7 a^4 A b+19 a^2 A b^3+10 A b^5-2 a^5 B-8 a^3 b^2 B-4 a b^4 B\right )}{2 a^4 \left (a^2+b^2\right )^2 d (a+b \tan (c+d x))^2}+\frac {\int \frac {\cot (c+d x) \left (-12 \left (a^2+b^2\right )^2 \left (a^2 A-10 A b^2+4 a b B\right )+12 a^4 \left (2 a A b-a^2 B+b^2 B\right ) \tan (c+d x)+12 b \left (7 a^4 A b+19 a^2 A b^3+10 A b^5-2 a^5 B-8 a^3 b^2 B-4 a b^4 B\right ) \tan ^2(c+d x)\right )}{(a+b \tan (c+d x))^2} \, dx}{12 a^4 \left (a^2+b^2\right )^2}\\ &=\frac {b \left (9 a^2 A b+10 A b^3-3 a^3 B-4 a b^2 B\right )}{3 a^3 \left (a^2+b^2\right ) d (a+b \tan (c+d x))^3}+\frac {(5 A b-2 a B) \cot (c+d x)}{2 a^2 d (a+b \tan (c+d x))^3}-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3}+\frac {b \left (7 a^4 A b+19 a^2 A b^3+10 A b^5-2 a^5 B-8 a^3 b^2 B-4 a b^4 B\right )}{2 a^4 \left (a^2+b^2\right )^2 d (a+b \tan (c+d x))^2}+\frac {b \left (4 a^6 A b+27 a^4 A b^3+29 a^2 A b^5+10 A b^7-a^7 B-13 a^5 b^2 B-12 a^3 b^4 B-4 a b^6 B\right )}{a^5 \left (a^2+b^2\right )^3 d (a+b \tan (c+d x))}+\frac {\int \frac {\cot (c+d x) \left (-12 \left (a^2+b^2\right )^3 \left (a^2 A-10 A b^2+4 a b B\right )+12 a^5 \left (3 a^2 A b-A b^3-a^3 B+3 a b^2 B\right ) \tan (c+d x)+12 b \left (4 a^6 A b+27 a^4 A b^3+29 a^2 A b^5+10 A b^7-a^7 B-13 a^5 b^2 B-12 a^3 b^4 B-4 a b^6 B\right ) \tan ^2(c+d x)\right )}{a+b \tan (c+d x)} \, dx}{12 a^5 \left (a^2+b^2\right )^3}\\ &=\frac {\left (4 a^3 A b-4 a A b^3-a^4 B+6 a^2 b^2 B-b^4 B\right ) x}{\left (a^2+b^2\right )^4}+\frac {b \left (9 a^2 A b+10 A b^3-3 a^3 B-4 a b^2 B\right )}{3 a^3 \left (a^2+b^2\right ) d (a+b \tan (c+d x))^3}+\frac {(5 A b-2 a B) \cot (c+d x)}{2 a^2 d (a+b \tan (c+d x))^3}-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3}+\frac {b \left (7 a^4 A b+19 a^2 A b^3+10 A b^5-2 a^5 B-8 a^3 b^2 B-4 a b^4 B\right )}{2 a^4 \left (a^2+b^2\right )^2 d (a+b \tan (c+d x))^2}+\frac {b \left (4 a^6 A b+27 a^4 A b^3+29 a^2 A b^5+10 A b^7-a^7 B-13 a^5 b^2 B-12 a^3 b^4 B-4 a b^6 B\right )}{a^5 \left (a^2+b^2\right )^3 d (a+b \tan (c+d x))}-\frac {\left (a^2 A-10 A b^2+4 a b B\right ) \int \cot (c+d x) \, dx}{a^6}-\frac {\left (b^3 \left (35 a^6 A b+56 a^4 A b^3+39 a^2 A b^5+10 A b^7-20 a^7 B-24 a^5 b^2 B-16 a^3 b^4 B-4 a b^6 B\right )\right ) \int \frac {b-a \tan (c+d x)}{a+b \tan (c+d x)} \, dx}{a^6 \left (a^2+b^2\right )^4}\\ &=\frac {\left (4 a^3 A b-4 a A b^3-a^4 B+6 a^2 b^2 B-b^4 B\right ) x}{\left (a^2+b^2\right )^4}-\frac {\left (a^2 A-10 A b^2+4 a b B\right ) \log (\sin (c+d x))}{a^6 d}-\frac {b^3 \left (35 a^6 A b+56 a^4 A b^3+39 a^2 A b^5+10 A b^7-20 a^7 B-24 a^5 b^2 B-16 a^3 b^4 B-4 a b^6 B\right ) \log (a \cos (c+d x)+b \sin (c+d x))}{a^6 \left (a^2+b^2\right )^4 d}+\frac {b \left (9 a^2 A b+10 A b^3-3 a^3 B-4 a b^2 B\right )}{3 a^3 \left (a^2+b^2\right ) d (a+b \tan (c+d x))^3}+\frac {(5 A b-2 a B) \cot (c+d x)}{2 a^2 d (a+b \tan (c+d x))^3}-\frac {A \cot ^2(c+d x)}{2 a d (a+b \tan (c+d x))^3}+\frac {b \left (7 a^4 A b+19 a^2 A b^3+10 A b^5-2 a^5 B-8 a^3 b^2 B-4 a b^4 B\right )}{2 a^4 \left (a^2+b^2\right )^2 d (a+b \tan (c+d x))^2}+\frac {b \left (4 a^6 A b+27 a^4 A b^3+29 a^2 A b^5+10 A b^7-a^7 B-13 a^5 b^2 B-12 a^3 b^4 B-4 a b^6 B\right )}{a^5 \left (a^2+b^2\right )^3 d (a+b \tan (c+d x))}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 6.69, size = 417, normalized size = 0.87 \[ \frac {(4 A b-a B) \cot (c+d x)}{a^5 d}-\frac {A \cot ^2(c+d x)}{2 a^4 d}-\frac {\left (a^2 A+4 a b B-10 A b^2\right ) \log (\tan (c+d x))}{a^6 d}+\frac {b^3 (A b-a B)}{3 a^3 d \left (a^2+b^2\right ) (a+b \tan (c+d x))^3}+\frac {b^3 \left (-4 a^3 B+5 a^2 A b-2 a b^2 B+3 A b^3\right )}{2 a^4 d \left (a^2+b^2\right )^2 (a+b \tan (c+d x))^2}+\frac {b^3 \left (-10 a^5 B+15 a^4 A b-9 a^3 b^2 B+17 a^2 A b^3-3 a b^4 B+6 A b^5\right )}{a^5 d \left (a^2+b^2\right )^3 (a+b \tan (c+d x))}-\frac {b^3 \left (-20 a^7 B+35 a^6 A b-24 a^5 b^2 B+56 a^4 A b^3-16 a^3 b^4 B+39 a^2 A b^5-4 a b^6 B+10 A b^7\right ) \log (a+b \tan (c+d x))}{a^6 d \left (a^2+b^2\right )^4}+\frac {(A+i B) \log (-\tan (c+d x)+i)}{2 d (a+i b)^4}+\frac {(A-i B) \log (\tan (c+d x)+i)}{2 d (a-i b)^4} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.38, size = 1732, normalized size = 3.63 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 5.09, size = 903, normalized size = 1.89 \[ -\frac {\frac {6 \, {\left (B a^{4} - 4 \, A a^{3} b - 6 \, B a^{2} b^{2} + 4 \, A a b^{3} + B b^{4}\right )} {\left (d x + c\right )}}{a^{8} + 4 \, a^{6} b^{2} + 6 \, a^{4} b^{4} + 4 \, a^{2} b^{6} + b^{8}} - \frac {3 \, {\left (A a^{4} + 4 \, B a^{3} b - 6 \, A a^{2} b^{2} - 4 \, B a b^{3} + A b^{4}\right )} \log \left (\tan \left (d x + c\right )^{2} + 1\right )}{a^{8} + 4 \, a^{6} b^{2} + 6 \, a^{4} b^{4} + 4 \, a^{2} b^{6} + b^{8}} - \frac {6 \, {\left (20 \, B a^{7} b^{4} - 35 \, A a^{6} b^{5} + 24 \, B a^{5} b^{6} - 56 \, A a^{4} b^{7} + 16 \, B a^{3} b^{8} - 39 \, A a^{2} b^{9} + 4 \, B a b^{10} - 10 \, A b^{11}\right )} \log \left ({\left | b \tan \left (d x + c\right ) + a \right |}\right )}{a^{14} b + 4 \, a^{12} b^{3} + 6 \, a^{10} b^{5} + 4 \, a^{8} b^{7} + a^{6} b^{9}} + \frac {220 \, B a^{7} b^{6} \tan \left (d x + c\right )^{3} - 385 \, A a^{6} b^{7} \tan \left (d x + c\right )^{3} + 264 \, B a^{5} b^{8} \tan \left (d x + c\right )^{3} - 616 \, A a^{4} b^{9} \tan \left (d x + c\right )^{3} + 176 \, B a^{3} b^{10} \tan \left (d x + c\right )^{3} - 429 \, A a^{2} b^{11} \tan \left (d x + c\right )^{3} + 44 \, B a b^{12} \tan \left (d x + c\right )^{3} - 110 \, A b^{13} \tan \left (d x + c\right )^{3} + 720 \, B a^{8} b^{5} \tan \left (d x + c\right )^{2} - 1245 \, A a^{7} b^{6} \tan \left (d x + c\right )^{2} + 906 \, B a^{6} b^{7} \tan \left (d x + c\right )^{2} - 2040 \, A a^{5} b^{8} \tan \left (d x + c\right )^{2} + 600 \, B a^{4} b^{9} \tan \left (d x + c\right )^{2} - 1425 \, A a^{3} b^{10} \tan \left (d x + c\right )^{2} + 150 \, B a^{2} b^{11} \tan \left (d x + c\right )^{2} - 366 \, A a b^{12} \tan \left (d x + c\right )^{2} + 792 \, B a^{9} b^{4} \tan \left (d x + c\right ) - 1350 \, A a^{8} b^{5} \tan \left (d x + c\right ) + 1050 \, B a^{7} b^{6} \tan \left (d x + c\right ) - 2271 \, A a^{6} b^{7} \tan \left (d x + c\right ) + 696 \, B a^{5} b^{8} \tan \left (d x + c\right ) - 1596 \, A a^{4} b^{9} \tan \left (d x + c\right ) + 174 \, B a^{3} b^{10} \tan \left (d x + c\right ) - 411 \, A a^{2} b^{11} \tan \left (d x + c\right ) + 294 \, B a^{10} b^{3} - 492 \, A a^{9} b^{4} + 414 \, B a^{8} b^{5} - 853 \, A a^{7} b^{6} + 278 \, B a^{6} b^{7} - 606 \, A a^{5} b^{8} + 70 \, B a^{4} b^{9} - 157 \, A a^{3} b^{10}}{{\left (a^{14} + 4 \, a^{12} b^{2} + 6 \, a^{10} b^{4} + 4 \, a^{8} b^{6} + a^{6} b^{8}\right )} {\left (b \tan \left (d x + c\right ) + a\right )}^{3}} + \frac {6 \, {\left (A a^{2} + 4 \, B a b - 10 \, A b^{2}\right )} \log \left ({\left | \tan \left (d x + c\right ) \right |}\right )}{a^{6}} - \frac {3 \, {\left (3 \, A a^{2} \tan \left (d x + c\right )^{2} + 12 \, B a b \tan \left (d x + c\right )^{2} - 30 \, A b^{2} \tan \left (d x + c\right )^{2} - 2 \, B a^{2} \tan \left (d x + c\right ) + 8 \, A a b \tan \left (d x + c\right ) - A a^{2}\right )}}{a^{6} \tan \left (d x + c\right )^{2}}}{6 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.78, size = 1030, normalized size = 2.16 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.98, size = 815, normalized size = 1.71 \[ -\frac {\frac {6 \, {\left (B a^{4} - 4 \, A a^{3} b - 6 \, B a^{2} b^{2} + 4 \, A a b^{3} + B b^{4}\right )} {\left (d x + c\right )}}{a^{8} + 4 \, a^{6} b^{2} + 6 \, a^{4} b^{4} + 4 \, a^{2} b^{6} + b^{8}} - \frac {6 \, {\left (20 \, B a^{7} b^{3} - 35 \, A a^{6} b^{4} + 24 \, B a^{5} b^{5} - 56 \, A a^{4} b^{6} + 16 \, B a^{3} b^{7} - 39 \, A a^{2} b^{8} + 4 \, B a b^{9} - 10 \, A b^{10}\right )} \log \left (b \tan \left (d x + c\right ) + a\right )}{a^{14} + 4 \, a^{12} b^{2} + 6 \, a^{10} b^{4} + 4 \, a^{8} b^{6} + a^{6} b^{8}} - \frac {3 \, {\left (A a^{4} + 4 \, B a^{3} b - 6 \, A a^{2} b^{2} - 4 \, B a b^{3} + A b^{4}\right )} \log \left (\tan \left (d x + c\right )^{2} + 1\right )}{a^{8} + 4 \, a^{6} b^{2} + 6 \, a^{4} b^{4} + 4 \, a^{2} b^{6} + b^{8}} + \frac {3 \, A a^{10} + 9 \, A a^{8} b^{2} + 9 \, A a^{6} b^{4} + 3 \, A a^{4} b^{6} + 6 \, {\left (B a^{7} b^{3} - 4 \, A a^{6} b^{4} + 13 \, B a^{5} b^{5} - 27 \, A a^{4} b^{6} + 12 \, B a^{3} b^{7} - 29 \, A a^{2} b^{8} + 4 \, B a b^{9} - 10 \, A b^{10}\right )} \tan \left (d x + c\right )^{4} + 3 \, {\left (6 \, B a^{8} b^{2} - 23 \, A a^{7} b^{3} + 62 \, B a^{6} b^{4} - 134 \, A a^{5} b^{5} + 60 \, B a^{4} b^{6} - 145 \, A a^{3} b^{7} + 20 \, B a^{2} b^{8} - 50 \, A a b^{9}\right )} \tan \left (d x + c\right )^{3} + {\left (18 \, B a^{9} b - 63 \, A a^{8} b^{2} + 128 \, B a^{7} b^{3} - 296 \, A a^{6} b^{4} + 130 \, B a^{5} b^{5} - 319 \, A a^{4} b^{6} + 44 \, B a^{3} b^{7} - 110 \, A a^{2} b^{8}\right )} \tan \left (d x + c\right )^{2} + 3 \, {\left (2 \, B a^{10} - 5 \, A a^{9} b + 6 \, B a^{8} b^{2} - 15 \, A a^{7} b^{3} + 6 \, B a^{6} b^{4} - 15 \, A a^{5} b^{5} + 2 \, B a^{4} b^{6} - 5 \, A a^{3} b^{7}\right )} \tan \left (d x + c\right )}{{\left (a^{11} b^{3} + 3 \, a^{9} b^{5} + 3 \, a^{7} b^{7} + a^{5} b^{9}\right )} \tan \left (d x + c\right )^{5} + 3 \, {\left (a^{12} b^{2} + 3 \, a^{10} b^{4} + 3 \, a^{8} b^{6} + a^{6} b^{8}\right )} \tan \left (d x + c\right )^{4} + 3 \, {\left (a^{13} b + 3 \, a^{11} b^{3} + 3 \, a^{9} b^{5} + a^{7} b^{7}\right )} \tan \left (d x + c\right )^{3} + {\left (a^{14} + 3 \, a^{12} b^{2} + 3 \, a^{10} b^{4} + a^{8} b^{6}\right )} \tan \left (d x + c\right )^{2}} + \frac {6 \, {\left (A a^{2} + 4 \, B a b - 10 \, A b^{2}\right )} \log \left (\tan \left (d x + c\right )\right )}{a^{6}}}{6 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 12.38, size = 664, normalized size = 1.39 \[ \frac {\frac {\mathrm {tan}\left (c+d\,x\right )\,\left (5\,A\,b-2\,B\,a\right )}{2\,a^2}-\frac {A}{2\,a}+\frac {{\mathrm {tan}\left (c+d\,x\right )}^4\,\left (-B\,a^7\,b^3+4\,A\,a^6\,b^4-13\,B\,a^5\,b^5+27\,A\,a^4\,b^6-12\,B\,a^3\,b^7+29\,A\,a^2\,b^8-4\,B\,a\,b^9+10\,A\,b^{10}\right )}{a^5\,\left (a^6+3\,a^4\,b^2+3\,a^2\,b^4+b^6\right )}+\frac {{\mathrm {tan}\left (c+d\,x\right )}^3\,\left (-6\,B\,a^7\,b^2+23\,A\,a^6\,b^3-62\,B\,a^5\,b^4+134\,A\,a^4\,b^5-60\,B\,a^3\,b^6+145\,A\,a^2\,b^7-20\,B\,a\,b^8+50\,A\,b^9\right )}{2\,a^4\,\left (a^6+3\,a^4\,b^2+3\,a^2\,b^4+b^6\right )}+\frac {{\mathrm {tan}\left (c+d\,x\right )}^2\,\left (-18\,B\,a^7\,b+63\,A\,a^6\,b^2-128\,B\,a^5\,b^3+296\,A\,a^4\,b^4-130\,B\,a^3\,b^5+319\,A\,a^2\,b^6-44\,B\,a\,b^7+110\,A\,b^8\right )}{6\,a^3\,\left (a^6+3\,a^4\,b^2+3\,a^2\,b^4+b^6\right )}}{d\,\left (a^3\,{\mathrm {tan}\left (c+d\,x\right )}^2+3\,a^2\,b\,{\mathrm {tan}\left (c+d\,x\right )}^3+3\,a\,b^2\,{\mathrm {tan}\left (c+d\,x\right )}^4+b^3\,{\mathrm {tan}\left (c+d\,x\right )}^5\right )}-\frac {\ln \left (\mathrm {tan}\left (c+d\,x\right )\right )\,\left (A\,a^2+4\,B\,a\,b-10\,A\,b^2\right )}{a^6\,d}+\frac {\ln \left (\mathrm {tan}\left (c+d\,x\right )+1{}\mathrm {i}\right )\,\left (B+A\,1{}\mathrm {i}\right )}{2\,d\,\left (a^4\,1{}\mathrm {i}+4\,a^3\,b-a^2\,b^2\,6{}\mathrm {i}-4\,a\,b^3+b^4\,1{}\mathrm {i}\right )}+\frac {\ln \left (\mathrm {tan}\left (c+d\,x\right )-\mathrm {i}\right )\,\left (A+B\,1{}\mathrm {i}\right )}{2\,d\,\left (a^4+a^3\,b\,4{}\mathrm {i}-6\,a^2\,b^2-a\,b^3\,4{}\mathrm {i}+b^4\right )}-\frac {\ln \left (a+b\,\mathrm {tan}\left (c+d\,x\right )\right )\,\left (-20\,B\,a^7\,b^3+35\,A\,a^6\,b^4-24\,B\,a^5\,b^5+56\,A\,a^4\,b^6-16\,B\,a^3\,b^7+39\,A\,a^2\,b^8-4\,B\,a\,b^9+10\,A\,b^{10}\right )}{d\,\left (a^{14}+4\,a^{12}\,b^2+6\,a^{10}\,b^4+4\,a^8\,b^6+a^6\,b^8\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: AttributeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________